src/s2/builder/graph.d(1177,49): Error: cannot take address of parameter `edges` in `@safe` function `processEdges` src/s2/builder/graph.d(1177,57): Error: cannot take address of parameter `input_ids` in `@safe` function `processEdges` src/s2/builder/util/s2polygon_layer.d(147,25): Error: cannot take address of parameter `label_set_ids` in `@safe` function `this` src/s2/value_lexicon.d(51,15): Error: cannot implicitly convert expression `& hash` of type `ulong function(const(SourceId) value) pure nothrow @system` to `ulong function(const(SourceId))` src/s2/s2boolean_operation.d(535,18): Error: cannot take address of local `result_empty` in `@safe` function `isEmpty` src/s2/s2boolean_operation.d(1638,33): Error: cannot take address of `ref return` of `back()` in `@safe` function `addIndexCrossing` src/s2/s2boolean_operation.d(2458,66): Error: cannot take address of local `new_edges` in `@safe` function `build` src/s2/s2boolean_operation.d(2458,78): Error: cannot take address of local `new_input_edge_ids` in `@safe` function `build` src/s2/s2builder.d(849,14): Error: cannot take address of parameter `error` in `@safe` function `build` src/s2/s2builder.d(1116,23): Error: `@safe` function `s2.s2builder.S2Builder.chooseInitialSites` cannot call `@system` constructor `s2.s2closest_point_query.S2ClosestPointQuery!int.S2ClosestPointQuery.this` src/s2/s2closest_point_query.d(326,3): `s2.s2closest_point_query.S2ClosestPointQuery!int.S2ClosestPointQuery.this` is declared here src/s2/s2builder.d(1193,23): Error: `@safe` function `s2.s2builder.S2Builder.collectSiteEdges` cannot call `@system` constructor `s2.s2closest_point_query.S2ClosestPointQuery!int.S2ClosestPointQuery.this` src/s2/s2closest_point_query.d(326,3): `s2.s2closest_point_query.S2ClosestPointQuery!int.S2ClosestPointQuery.this` is declared here src/s2/s2builder.d(1706,9): Error: cannot take address of parameter `layer_edges` in `@safe` function `simplifyEdgeChains` src/s2/s2builder.d(1706,23): Error: cannot take address of parameter `layer_input_edge_ids` in `@safe` function `simplifyEdgeChains` src/s2/s2cap.d(564,19): Error: cast from `const(Object)` to `s2.s2cap.S2Cap` not allowed in safe code src/s2/s2cell.d(435,20): Error: cast from `const(Object)` to `s2.s2cell.S2Cell` not allowed in safe code src/s2/s2cell.d(445,20): Error: cast from `const(Object)` to `s2.s2cell.S2Cell` not allowed in safe code src/s2/s2cell_id.d(1073,16): Deprecation: initialization of `immutable` variable from `static this` is deprecated. src/s2/s2cell_id.d(1073,16): Use `shared static this` instead. src/s2/s2cell_id.d(1074,15): Deprecation: initialization of `immutable` variable from `static this` is deprecated. src/s2/s2cell_id.d(1074,15): Use `shared static this` instead. src/s2/s2closest_edge_query.d(285,13): Error: `@safe` constructor `s2.s2closest_edge_query.S2ClosestEdgeQuery.this` cannot call `@system` constructor `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.this` src/s2/s2closest_edge_query_base.d(268,3): `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.this` is declared here src/s2/s2closest_edge_query_base.d(319,29): Error: `@safe` function `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdges` cannot call `@system` function `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdgesInternal` src/s2/s2closest_edge_query_base.d(356,8): `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdgesInternal` is declared here src/s2/s2closest_edge_query_base.d(346,29): Error: `@safe` function `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdge` cannot call `@system` function `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdgesInternal` src/s2/s2closest_edge_query_base.d(356,8): `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance).S2ClosestEdgeQueryBase.findClosestEdgesInternal` is declared here src/s2/s2closest_edge_query.d(105,16): Error: template instance `s2.s2closest_edge_query_base.S2ClosestEdgeQueryBase!(S2MinDistance)` error instantiating /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.